-- peter_event
-- created by zhuangsl
-- Peter使用病历触发事件

return {
    checkEvent = function(eventId, para)
        -- 需出战peter
        local petId = ME.user.dbase:query("active_pet", 0);
        local dbase = SlimeEventM.query(eventId, "dbase") or {};

        if petId == dbase["pet_id"] then
            return true;
        end

        return false;
    end,
};

